home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2005 February / WN_129_CD.iso / Windows / Extensions Firefox / FlashGot / flashgot-0.5.3.xpi / chrome / flashgot.jar / content / flashgot / flashgotGalleryBuilder.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-11-14  |  7.3 KB  |  169 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is "FlashGot"
  16.    -
  17.    - The Initial Developer of the Original Code is Giorgio Maone.
  18.    - Portions created by the Initial Developer are Copyright (C) 2004
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s): Giorgio Maone <g.maone @ informaction.com>
  22.    -
  23.    - Alternatively, the contents of this file may be used under the terms of
  24.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  25.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.    - in which case the provisions of the GPL or the LGPL are applicable instead
  27.    - of those above. If you wish to allow use of your version of this file only
  28.    - under the terms of either the GPL or the LGPL, and not to allow others to
  29.    - use your version of this file under the terms of the MPL, indicate your
  30.    - decision by deleting the provisions above and replace them with the notice
  31.    - and other provisions required by the LGPL or the GPL. If you do not delete
  32.    - the provisions above, a recipient may use your version of this file under
  33.    - the terms of any one of the MPL, the GPL or the LGPL.
  34.    -
  35.    - ***** END LICENSE BLOCK ***** -->
  36. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  37. <!DOCTYPE overlay SYSTEM "chrome://flashgot/locale/flashgot.dtd">
  38.  
  39. <dialog id="flashgotGalleryBuilder" 
  40.   onload="flashgotGB.onload()"
  41.   ondialogaccept="flashgotGB.build()"
  42.   title="&flashgotBuildGallery.title;"
  43.     buttons="accept,cancel"
  44.   flex="1"
  45.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  46.  
  47.   <script type="application/x-javascript" src="flashgotGalleryBuilder.js"/>
  48.   <commandset>
  49.     <command id="cmd_synchronizeContent" oncommand="flashgotGB.synchronizeContent()" />
  50.     <command id="cmd_synchronizePreview" oncommand="flashgotGB.synchronizePreview()" />
  51.   </commandset>
  52.   <tabbox >
  53.   <tabs onselect="flashgotGB.tabSelected(event)" >
  54.     <tab id="flashgotGB-url-tab" label="&flashgotGBVariableURLs.label;"/>
  55.     <tab id="flashgotGB-expr-tab" label="&flashgotGBExpressions.label;" />
  56.   </tabs>
  57.     <tabpanels>
  58.       <tabpanel>
  59.         <vbox>
  60.           <groupbox orient="vertical">
  61.          
  62.             <description>&flashgotGBSample.label;</description>
  63.             <description style="font-weight: bold">http://www.xyz.com/gal[080-090;10]/img[1-2].jpg</description>
  64.             <description style="font-weight: bold">http://www.xyz.com/gal[myfunc([1-100])].mpg</description>
  65.             <grid>
  66.               <columns>
  67.                 <column/>
  68.                 <column flex="1"/>
  69.               </columns>
  70.               <rows>
  71.                 <row>
  72.                   <label control="flashgotGB-preview-text" value="&flashgotGBPreview.label;" width="60px" />
  73.                   <textbox id="flashgotGB-preview-text" 
  74.                     type="autocomplete" autocompletesearch="history,form-history" 
  75.                     maxlength="300" minwidth="450px"
  76.                     onchange="flashgotGB.validateURLs()"
  77.                     />
  78.                 </row>
  79.                 <row>
  80.                   <spacer />
  81.                   <hbox align="center">
  82.                         <button style="min-width: 0px" image="chrome://global/skin/arrow/arrow-dn-sharp.gif"
  83.                           command="cmd_synchronizeContent" />         
  84.                         <button style="min-width: 0px" image="chrome://global/skin/arrow/arrow-up-sharp.gif"
  85.                           command="cmd_synchronizePreview" />
  86.                          <label value="&flashgotGBSync.label;"/>
  87.                          <spacer flex="1" />
  88.                   </hbox>
  89.                 </row>
  90.                 <row>
  91.                   <label control="flashgotGB-content-text" value="&flashgotGBContent.label;" width="60px" />
  92.                   <textbox id="flashgotGB-content-text"
  93.                     type="autocomplete" autocompletesearch="history,form-history" 
  94.                     maxlength="300" minwidth="450px" 
  95.                     onchange="flashgotGB.validateURLs()"  
  96.                      />
  97.                 </row>
  98.               </rows>
  99.             </grid>
  100.           </groupbox>
  101.           <vbox style="padding: 0px margin: 0px;">
  102.             <vbox id="flashgotGB-urls-list-container">
  103.                <listbox id="flashgotGB-urls-list" seltype="single" 
  104.                   onselect="flashgotGB.openSelectedURL()" 
  105.                   style="margin: 4px 0px"
  106.                   height="136px"
  107.                   minheight="48px"
  108.                   flex="1"
  109.                   >
  110.                   <listcols id="flashgotGB-urls-listcols">
  111.                     <listcol flex="1"/>
  112.                     <listcol flex="1"/>
  113.                   </listcols>
  114.                </listbox>
  115.              </vbox>
  116.            
  117.             <splitter style="background: transparent; margin: 0px; border-width: 0px" /> 
  118.            
  119.            <iframe id="flashgotGB-urls-preview"  src="about:blank" 
  120.             style="border: 1px solid ThreeDDarkShadow"
  121.             height="136px"
  122.             flex="1"
  123.             />
  124.            
  125.           </vbox>  
  126.             
  127.             <hbox flex="1" style="margin-top: 6px">
  128.               <label control="flashgotGB-referrer-text" value="&flashgotGBReferrer.label;" />
  129.               <textbox id="flashgotGB-referrer-text" 
  130.                 type="autocomplete" autocompletesearch="history,form-history"  
  131.                 maxlength="255" flex="1" />
  132.             </hbox>
  133.             
  134.         </vbox>
  135.       </tabpanel>
  136.       <tabpanel>
  137.        <hbox style="margin: 0px; padding: 0px"  flex="1" >
  138.         <listbox id="flashgotGB-expr-list" seltype="single" 
  139.           onselect="flashgotGB.exprSelected()" flex="1" 
  140.           style="margin: 0px"
  141.           />
  142.         
  143.        <splitter style="background: transparent; margin: 0px; border-width: 0px" /> 
  144.           
  145.         <vbox flex="2" style="margin: 0px; padding: 0px" >
  146.           <description id="flashgotGB-expr-des" value="function fx( /* array */ arguments ) {" />
  147.           <description style="white-space: nowrap;" >// arguments.length = args number, arguments[0] = 1st arg, ...</description>  
  148.           <textbox id="flashgotGB-expr-text" 
  149.             flex="1"
  150.             multiline="true" 
  151.             onchange="flashgotGB.exprChanged()"
  152.             style="background: white; color: red; font-family: monospace;"
  153.             wrap="off"
  154.             />
  155.           <description>}</description>
  156.           
  157.        
  158.           <textbox id="flashgotGB-expr-error-text" 
  159.             multiline="true"
  160.             rows="3" readonly="true"
  161.             style="background: white; color: red"
  162.            />
  163.         </vbox>
  164.       </hbox>
  165.       </tabpanel>
  166.     </tabpanels>
  167.   </tabbox>
  168. </dialog>
  169.